package com.woniuxy.goods.service;

import com.woniuxy.goods.mapper.GoodsTypeMapper;
import com.woniuxy.goods.module.goods.GoodsType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsTypeService {

    @Autowired
    GoodsTypeMapper goodsTypeMapper ;

    public List<GoodsType> findAll(){
        return goodsTypeMapper.selectAll();
    }
}
